import { createRouter, createWebHashHistory } from 'vue-router'

//@: 表示src文件夹
import Home from '@/components/home/Home'
import City from '@/components/city/City'

const routes = [
  {
   path:'/',
   component: Home,
   name : 'Home'
  } ,
  {
	  path:'/city',
	  component:City,
	  name:'City'
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
